-
Notifications
You must be signed in to change notification settings - Fork 3k
small virtio serial update #11841
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
small virtio serial update #11841
Conversation
|
Please describe these changes in terms of the 'why' - describing /what/ a 2 line patch does is kind of pointless, anybody can see that for themselves. |
Left over from development. The messages do not serve much value and spam the logs. Drop them. Signed-off-by: Gerd Hoffmann <[email protected]>
The function does not return any flags. Make that explicit instead of leaving the return value unmodified, so we do not depend on the caller initializing it. Signed-off-by: Gerd Hoffmann <[email protected]>
Next patch needs this function. No functional change. Signed-off-by: Gerd Hoffmann <[email protected]>
680646e to
18ef1af
Compare
Pull Request Formatting IssuesAddress these issues and the validation will automatically re-run when you update your pull request. |
Check if there is data available for read, set the EFI_SERIAL_INPUT_BUFFER_EMPTY flag accordingly. With proper status returned VirtioSerialIoRead() will only be called if there is actual data to read, so we must call VirtioSerialIoWriteFlush() to make sure pending writes get flushed to the host properly. Signed-off-by: Gerd Hoffmann <[email protected]>
18ef1af to
0d8d6b0
Compare
|
@ardbiesheuvel Seems without approval the push label has no effect. |
Merge Queue Status✅ The pull request has been merged at 639b2a6 This pull request spent 20 minutes 50 seconds in the queue, including 20 minutes 41 seconds running CI. Required conditions to merge
|
Description
OvmfPkg/VirtioSerialDxe: drop Get/SetControl logging
OvmfPkg/VirtioSerialDxe: explitly clear return value in GetControl
OvmfPkg/VirtioSerialDxe: factor out VirtioSerialIoWriteFlush
OvmfPkg/VirtioSerialDxe: set EFI_SERIAL_INPUT_BUFFER_EMPTY
Breaking change?
Impacts security?
Includes tests?
How This Was Tested
manual testing in qemu
Integration Instructions
N/A